function updateTripleLineChart(timeData, data1, data2,data3, ylabel1, ylabel2, ylabel3, xNum, mark,place) {
	if(timeData=='')
    {
     timeData="<value xid='0'>0</value>";
     data1="<value xid='0'>0</value>";
     data2="<value xid='0'>0</value>";
     data3="<value xid='0'>0</value>";
    }
	var balloon_text = "";
	var legend_text = "";
	var digitType = "";
	if(mark==('%')){
		balloon_text = "<balloon_text><![CDATA[{value}%25]]></balloon_text>";
		legend_text = "<values><y_left><unit>%25</unit></y_left></values><legend><values><text><![CDATA[ {value}%25]]></text></values></legend>";
	}else if(mark==('￥')){
		balloon_text = "<balloon_text><![CDATA[￥{value}]]></balloon_text>";
		legend_text = "<legend><values><text><![CDATA[：￥{value}]]></text></values></legend>";
	}else{
		balloon_text = "<balloon_text><![CDATA[{value}]]></balloon_text>";
		legend_text = "<legend><values><text><![CDATA[ {value}]]></text></values></legend>";
	}
	var so = new SWFObject("/amline/amline.swf", "amline",
			860, 300, "8", "#FFFFFF");
	so.addVariable("path", "/amline/");
	so.addVariable("settings_file",
			encodeURIComponent("../amline/tripleline_settings.xml"));
	var chartCss = "line_width='3' bullet='round_outline' color='#8F8FBD' balloon_color='#8F8FBD' bullet_color='#8F8FBD'";
	var chartCss2 = "line_width='3' bullet='round_outline' color='#FFCC00' balloon_color='#FFCC00' bullet_color='#FFCC00'";
	var chartCss3 = "line_width='3' bullet='round_outline' color='#FF0000' balloon_color='#FF0000' bullet_color='#FF0000'";
	var fdata = "<?xml version='1.0' encoding='UTF-8'?><chart><series>"
			+ timeData + "</series><graphs><graph gid='1' title='" + ylabel1
			+ "'" + chartCss + ">" + balloon_text + data1 + "</graph><graph gid='2' title='" + ylabel2
			+ "'" + chartCss2 + ">" + balloon_text + data2 + "</graph><graph gid='3' title='" + ylabel3
			+ "'" + chartCss3 + ">" + balloon_text + data3 + "</graph></graphs></chart>";
	so
			.addVariable(
					"additional_chart_settings",
					"<settings>"+digitType+"<graphs><graph gid='1'>"+balloon_text+"</graph></graphs>"+legend_text+"<plot_area><margins><top>40</top><right>32</right></margins></plot_area><grid><x><approx_count>"+xNum+"</approx_count></x></grid></settings>");
	so.addVariable("chart_data", fdata);
	so.addParam("wmode", "transparent");
	so.write(place);
}
